<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <h1>您的生日是{{birthday}}</h1>
</div>

<script src="./node_modules/vue/dist/vue.js"></script>
<script>
   let vm = new Vue({
       el:"#app",
       computed:{
           birthday(){
               const d = new Date();
return d.getFullYear()+"年"+(d.getMonth()+1)+"月"+d.getDate()+"日";
           }
       }
   })
</script>
</body>
</html>